﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EtlComm;

namespace EtlComm
{
    /// <summary>
    /// 任务调度器接口
    /// </summary>
    public interface IEDTDispatcher
    {
        /// <summary>
        /// 日志接口
        /// </summary>
        BaseLog log { set; get; }
        /// <summary>
        /// 是否允许被调试
        /// </summary>
        bool Active { set; get; }
        /// <summary>
        /// 初始化调度器
        /// </summary>
        /// <param name="lstStationObject">加油站任务列表</param>
        void Initialize(IList<StationObject> lstStationObject);
        /// <summary>
        /// 加载任务状态
        /// </summary>
        /// <returns></returns>
        bool LoadStatus();
        /// <summary>
        /// 保存任务状态
        /// </summary>
        /// <returns></returns>
        bool Stop();
        /// <summary>
        /// 启动调度
        /// </summary>
        void DispatchRontine();
    }


}
